<?php

namespace app\Admin\model;

use think\Model;

class User extends Model
{
    //
    protected $table='user';

    public function getUser($data){
        $data = User::get($data);
        return  empty($data)?[]:$data->toArray();
    }
}
